<template>
    <div class="cartpage">
            <div class="cartList">
                <dl>
                    <dt>
                       <img class="checkbox" src="../../static/1_06.jpg" >       
                       <img class="checkboximg" src="../../static/1_03.jpg" >       
                    </dt>
                    <dd>
                        <p>肽能氨基酸洁颜霜<i style="color:#c6c6c6" class="iconfont">&#xe619;</i></p>
                        <p class="weight">100g</p>
                        <p class="count">
                            <span>￥138.00</span>
                            <span>
                                <button>-</button>
                                <i>1</i>
                                <button>+</button>
                            </span>
                        </p>
                    </dd>    
                </dl>
            </div>
            <div class="cartFoot">
                 <p class="sum">
                      <input type="checkbox" id="checkbox1">
                      <label for="checkbox1">全选</label>
                      <span>合计金额：<i>￥138.00</i></span>
                 </p>
                 <p class="buy">
                     结算(1)
                 </p>
            </div>
    </div>
</template>

<script>
</script>

<style lang="less" scoped>
// #checkbox1{
//    border-radius: 50%;
//    display: inline-block;  
// }
    .count{
        margin-top: 1.5rem;
        display: flex;
        align-items: center;
        span:first-child{
            flex: 1;
            color: #f00;
            font-weight: bold;
        }
        span:last-child{
            display: inline-block;
            border: .01rem solid #ccc;
            display: flex;
            align-items: center;
            width: 2.68rem;
            height: .76rem;
            text-align: center;
            button{
                background: #ffffff;
                border: none;
                outline: none;
                flex: 1;
                display: inline-block;
                height: .74rem;
            }
            i{
                flex: 1;
                display: inline-block;
                height: .74rem;
                line-height: .74rem;
                border-left: .01rem solid #ccc;
                border-right: .01rem solid #ccc;
            }
        }
    }
  .checkbox{
      width: .57rem;
      margin-bottom: 1.24rem;
      margin-right: .25rem;
  }
  .weight{
      width: .82rem;
      background: #e5e5e5;
      color: #fff;
      font-size: .12rem;
      padding: .04rem;
      border-radius: .08rem;
  }
  .checkboximg{
      width: 3.73rem;
      height: 3rem;
      margin-right: .28rem;
  }
  .cartList{
      display: flex;
      flex-direction: row;
      align-items: center;
      padding: 0 .3rem;
      box-sizing: border-box;
      dl{
          display: flex;
          flex-direction: row;
          width: 100%;
      }
      dd{
          flex: 1;
          p:first-child{
              display: flex;
              width: 100%;
              i{
                  flex: 1;
                  text-align: right;
              }
          }
      }
  }
  .cartpage{
      width: 100%;
      height: 100%;
      background: #f6f6f6;
      padding-top: .4rem;
      padding-bottom: 1.5rem;
      .cartList{
      width: 100%;
      height: 3.82rem;
      background: #fff;
      margin-bottom: .4rem;
     }
     .cartFoot{
         position: fixed;
         bottom: 0;
         width: 100%;
         height: 1.5rem;
         background: #fff;
         display: flex;
         align-items: center;
         .sum{
             flex: 1;
             line-height: 1.5rem;
             input{
                 margin-left: .33rem;
             }
             span{
                 margin-left: .4rem;
                 i{
                     color: #f00;
                     font-weight: bold;   
                 }
             }
         }
         .buy{
             width: 4.3rem;
             height: 1.5rem;
             text-align: center;
             line-height: 1.5rem;
             background: #ffe55c;
         }
     }
  }
  @font-face {
  font-family: 'iconfont';  /* project id 993598 */
  src: url('//at.alicdn.com/t/font_993598_0bt8nnemek5h.eot');
  src: url('//at.alicdn.com/t/font_993598_0bt8nnemek5h.eot?#iefix') format('embedded-opentype'),
  url('//at.alicdn.com/t/font_993598_0bt8nnemek5h.woff2') format('woff2'),
  url('//at.alicdn.com/t/font_993598_0bt8nnemek5h.woff') format('woff'),
  url('//at.alicdn.com/t/font_993598_0bt8nnemek5h.ttf') format('truetype'),
  url('//at.alicdn.com/t/font_993598_0bt8nnemek5h.svg#iconfont') format('svg');
}
.iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;}
</style>
